<!doctype html>

<html>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta name='gwt:property' content='locale=en'>

    <title>Yui4Gwt example gallery</title>
    <script type="text/javascript" language="javascript" 
    	src="http://yui.yahooapis.com/3.5.1/build/yui/yui-min.js"></script>
  </head>
  <body class="yui3-skin-sam">
<p id="p1">alksjdlkajsld</p>
<script type="text/javascript">
YUI().use('button',  function(Y) {
	var button = new Y.Button({
        label: "Accept"
    });
	button.render(document.body); 
	
	button.on("click", function(e){
		alert(e.domEvent.clientX); 
	}); 
	
	
	Y.one(document.body).appendChild("<p>blabla</p>").on("click", function(e){
		alert(e.clientX); 
	}); 
	
	alert(Y.dump([1,2,3])); 
});
</script>

  </body>
</html>
